<script language="JavaScript" type="text/javascript">
<!--
function submit()
{
  document.sub_form.submit() ;
}
-->
</script>
<div id="body">
	<?=$this->validation->error_string; ?>
	<div id="reg">
		<?php echo form_open('user_control/do_edit_profile', array('id'=>'sub_form', 'name'=>'sub_form')); ?>
		<table cellpadding="5px" cellspacing="0" border="0">
		<tr>
			<td align="right"><label for="firstName" style="color:#FFEA00;font-size:12px">First Name: </label></td>
			<td><?= form_input(array('id'=>'firstName', 'name'=>'firstName', 'class'=>'text', 'size'=>20, 'maxlength'=>20), $array['FirstName']); ?></td>
		</tr>
		<tr>
			<td align="right"><label for="middleName" style="color:#FFEA00;font-size:12px">Middle Name: </label></td>
			<td><?= form_input(array('id'=>'middleName', 'name'=>'middleName', 'class'=>'text', 'size'=>20, 'maxlength'=>20), $array['MiddleName']); ?></td>
		</tr>
		<tr>
		<tr>
			<td align="right"><label for="lastName" style="color:#FFEA00;font-size:12px">Last Name: </label></td>
			<td><?= form_input(array('id'=>'lastName', 'name'=>'lastName', 'class'=>'text', 'size'=>20, 'maxlength'=>20), $array['LastName']); ?></td>
		</tr>
		<tr>
			<td align="right"><label for="address" style="color:#FFEA00;font-size:12px">Address: </label></td>
			<td><?= form_input(array('id'=>'address', 'name'=>'address', 'class'=>'text', 'size'=>20, 'maxlength'=>20), $array['Address']); ?></td>
		</tr>
		<tr>
		<tr>
			<td align="right"><label for="contactNo" style="color:#FFEA00;font-size:12px">Contact Number: </label></td>
			<td><?= form_input(array('id'=>'contactNo', 'name'=>'contactNo', 'class'=>'text', 'size'=>20, 'maxlength'=>20), $array['ContactNo']); ?></td>
		</tr>
		<tr>
			<td align="right"><label for="idNumber" style="color:#FFEA00;font-size:12px">ID Number: </label></td>
			<td><?= form_input(array('id'=>'idNumber', 'name'=>'idNumber', 'class'=>'text', 'size'=>20, 'maxlength'=>20), $array['IDNo']); ?></td>
		</tr>
		<tr>
		<tr>
			<td align="right"><label for="course" style="color:#FFEA00;font-size:12px">Course: </label></td>
			<td><?= form_input(array('id'=>'course', 'name'=>'course', 'class'=>'text', 'size'=>20, 'maxlength'=>20), $array['Course']); ?></td>
		</tr>
		<tr>
			<td align="right"><label for="yearLevel" style="color:#FFEA00;font-size:12px">Year Level: </label></td>
			<td><?= form_input(array('id'=>'yearLevel', 'name'=>'yearLevel', 'class'=>'text', 'size'=>20, 'maxlength'=>20), $array['YearLevel']); ?></td>
		</tr>
		<tr>
			<td colspan="2" align="center""><a href="javascript:submit()" id="reg_link"><span style="color:#FFEA00;">Save Changes</span></a></td>
		<tr>
		</table>
		</form>		
		  
		</div>
            </FORM>
